package com.xszn.middleware.entity;

/**
 * 查询条件字段
 */
public class RYQueryCondition {
    ///查询的人员类型，不填为所有人员类似；访客/白名单/黑名单
    private int Type;
    //人员编号，模糊搜索，不填为所有人员
    private String CodeLike;
    //人员名字，模糊搜索，不填为所有人员
    private String NameLike;
    //分页控制,每页最大条数
    private int Limit;

    public int getLimit() {
        return Limit;
    }

    public void setLimit(int limit) {
        Limit = limit;
    }

    public int getOffset() {
        return Offset;
    }

    public void setOffset(int offset) {
        Offset = offset;
    }

    //分布控制,起始记录号
    private int Offset;

    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }

    public String getCodeLike() {
        return CodeLike;
    }

    public void setCodeLike(String codeLike) {
        CodeLike = codeLike;
    }

    public String getNameLike() {
        return NameLike;
    }

    public void setNameLike(String nameLike) {
        NameLike = nameLike;
    }



    @Override
    public String toString() {
        return "RYQueryCondition{" +
                "Type=" + Type +
                ", CodeLike='" + CodeLike + '\'' +
                ", NameLike='" + NameLike + '\'' +
                ", Limit='" + Limit + '\'' +
                ", Offset='" + Offset + '\'' +
                '}';
    }
}
